summaryrefslogtreecommitdiff
path: root/emulators/suse131_alsa/Makefile
blob: 2e0d83dce11ff68820a26c78f8d97c456574f987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.6 2015/02/16 10:15:47 jperkin Exp $

PKGNAME=	suse_alsa-${SUSE_VERSION}
PKGREVISION=	2
CATEGORIES=	emulators
RPMUPDPKGS+=	alsa-1.0.27.2-3.5.1.${SUSE_ARCH}
RPMUPDPKGS+=	alsa-oss-1.0.25-8.4.1.${SUSE_ARCH}
RPMPKGS+=	alsa-plugins-1.0.27-3.1.1.${SUSE_ARCH}
RPMPKGS+=	alsa-plugins-pulse-1.0.27-3.1.1.${SUSE_ARCH}
RPMUPDPKGS+=	alsa-utils-1.0.27.2-4.5.1.${SUSE_ARCH}
RPMUPDPKGS+=	libasound2-1.0.27.2-3.5.1.${SUSE_ARCH}

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Linux compatibility package for ALSA

EMUL_MODULES.linux=	base pulseaudio

PLIST_SRC=	${PKGDIR}/PLIST ${RPM2PKG_PLIST}

post-install:
	${INSTALL_DATA} ${FILESDIR}/60-oss.conf \
		${DESTDIR}${PREFIX}/${EMULSUBDIR}/usr/share/alsa/alsa.conf.d/
	${SED} -e 's/"sysdefault"/"oss"/g' \
		< ${DESTDIR}${PREFIX}/${EMULSUBDIR}/etc/asound-pulse.conf \
		> ${DESTDIR}${PREFIX}/${EMULSUBDIR}/etc/asound.conf

.include "../../emulators/suse131_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"